# -*-encoding: Utf-8 -*-
# author: 黄景涛
# Time：2025/3/12

if __name__ == '__main__':
    gen = (i for i in range(5))
    print(f"生成器实例：{gen}")
    for num in gen:
        print(num)
